Publish multi-version documentation site#1727
Merged
jeffhandley merged 11 commits intoJul 24, 2026
Merged
Conversation
- Default docs to newest version - Redirect unversioned docs links to v1 - Honor docs theme and cache picker assets - Present a prerelease documentation banner Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Also document MCP spec compatibility. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
- Remove legacy package profile note - Update Roadmap with auth focus Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
PranavSenthilnathan
previously approved these changes
Jul 24, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bb4b44f0-f505-49c5-9878-76e2b40c7a15
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8eac1204-10ae-4319-9333-aee5dd43dcc8
PranavSenthilnathan
approved these changes
Jul 24, 2026
jeffhandley
merged commit Jul 24, 2026
ae36026
into
modelcontextprotocol:main
16 of 18 checks passed
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Publishes a versioned documentation site while preserving existing unversioned v1 URLs, and refreshes v2 documentation for the stabilized Tasks implementation and MCP specification compatibility.
Review the deployed prototype at https://jeffhandley.com/mcp-csharp-sdk-docs/.
Multi-version site behavior
v1,v2, and so on) and builds that release tag into/vN/.PREVIEWpill in the picker and displays a matching prerelease documentation banner.v1-redirects.jsonas the generated redirect map.Publishing workflow
docs_ref(branch, tag, or commit). It derives that ref's major version fromVersionPrefix, rebuilds only the matching/vN/content from the ref, and continues building every other version from releases. This supports documentation-only refreshes without minting a product release.modelcontextprotocol/csharp-sdk; the fork-only guard removal used for prototype validation is intentionally excluded from this PR.Documentation updates
ModelContextProtocol.Extensions.Taskspackage, its2026-07-28protocol requirement, and its lack of compatibility with v1's experimental Tasks implementation on down-level connections.2025-11-25, with Tasks as the documented exception.Related 1.x documentation cleanup: #1729.
Validation
dotnet docfx docs/docfx.json --warningsAsErrors truedotnet test --no-build --no-restorehas existing local integration failures becauseTestServer.exeis not onPATH.